package com.azhuo.core.dao;

import java.util.List;

import com.azhuo.core.pojo.Customer;

public interface CustomerDao {

	/**
	 * 条件查询客户列表
	 */
	public List<Customer> selectCustomer(Customer customer);
	
	/**
	 * 查询客户数
	 */
	public int selectCustomerCount(Customer customer);

	/**
	 * 添加客户
	 */
	public void insertCustomer(Customer customer);

	/**
	 * 根据id查询
	 */
	public Customer selectCustomerByCust_id(Integer cust_id);

	/**
	 * 更新客户信息
	 */
	public void updateCustomer(Customer customer);

	/**
	 * 根据cust_id删除客户信息
	 */
	public int deleteCustomer(Integer cust_id);
}
